<%@ page contentType="text/html;charset=UTF-8"  %>
<%@page import="nc.vo.ebscg.ggbulletin.BulletinManageVO"%>
<%@page import="com.ufida.ebscg.business.bulletinmanage.BulletinallQueryServiceImpl"%>
<%

//获取频道信息主键
	String meunId = request.getParameter("pk");
	
 %>
<dl style='float:left;background-color:#F6F6F8;'>
			<dt style='border-bottom:1px solid #ffffff;'>
			<span style='font-size:12px;'>				
			<a href="javascript:;" onclick="loadXML('td0','announcement/bulletinmanage.do?type=1&mod=lyan&tolist=1&pk=<%=meunId%>&name=${name}')"> 更多>></a>
			</span>
				<h2 style='font-size:14px;'>
					${name}
				</h2>
</dt>

<%
	
	BulletinallQueryServiceImpl query = new BulletinallQueryServiceImpl();
	//获取对应的频道的信息
	BulletinManageVO[] bmvos = query.queryByBulletType(meunId);				
	if(bmvos != null && bmvos.length > 0)
	{				
		for(int pos=0; pos<5 && pos<bmvos.length; pos++)
		{
		    BulletinManageVO bmvo  = bmvos[pos];
%>
		
		<dd>·
		<a  style='font-size:13px;margin-bottom:10px;text-indent:24px;' 
		href='announcement/bulletinmanage.do?type=2&mod=lyan&pk_gg_bulletin_main=<%=bmvo.getPk_gg_bulletin_main()%>' target="_blank">
		<%=bmvo.getTitle()%>
		</a>
		</dd>
<%}} %>
</dl>

